package cn.ydw.www.plugin.utils;

import android.content.Context;

import cn.ydw.www.plugin.app.MyApp;


/**
 * ========================================
 *
 * @author 杨德望
 * Create on 2018/12/28
 * 描述:用于解决provider冲突的util
 * =========================================
 */
public final class ProviderUtil {
    public static String getAuthority(Context context) {
        return context == null? null: context.getPackageName() + ".provider";
    }
    public static String getAuthority() {
        return MyApp.getApp().getPackageName() + ".provider";
    }

}
